<?php
/**
 * Created by PhpStorm.
 * User: inhere
 * Date: 2017-02-28
 * Time: 9:33
 */
$isDebug = APP_DEBUG;

?>

<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>404</title>
    <style>
        body {
            color: #555;
            line-height: 1.42857143;
            font-size: 16px;
            font-family: "Source Sans Pro","Helvetica Neue",Helvetica,Arial,sans-serif;
        }
        code, kbd, pre, samp {
            font-family: Menlo,Monaco,Consolas,"Courier New",monospace;
        }
        code {
            padding: 2px 4px;
            font-size: 90%;
            color: #4CAF50;
            background-color: #f9faf4;
            border-radius: 4px;
        }
    </style>
</head>
<body>
    <div style="max-width: 650px; padding: 5%; margin: 1% auto;">
        <h1> Request Page Not Found! :( </h1>
        <?php if ($isDebug): ?>
        <ul>
            <li> Maybe you not config route <code><?= $uri ?></code> in router file.</li>
            <li> Maybe you request method [<strong><?= $method ?></strong>] don't matched.</li>
            <li> Maybe you request action name don't exist or forgot to add the action suffix.</li>
            <li> Maybe ... ... :)</li>
        </ul>
        <?php endif; ?>
    </div>
</body>
</html>
